SmartPay\Modules\Payment\Payment S

Total Complexity 44
Dependencies 8
Dependents 2
Total lines 277
Lines of code 193
Logical lines of code 106
Comment lines 16
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
ajax_process_payment()
A
53 8 22
_get_payment_data()
S
50 7 29
insertPayment()
S
49 7 28
_process_gateway_payment()
S
59 5 13
_get_payment_customer()
S
54 4 20
onPaymentCancel()
S
67 4 7
_prepare_payment_data()
S
53 2 21
registerRestRoutes()
S
51 1 32
onPaymentComplete()
S
66 3 8
_checkValidation()
S
71 2 5
__construct()
S
66 1 8